package com.tj.collection.db.domain;

/**
 * Created with IntelliJ IDEA.
 * User: sm
 * Date: 2017/3/14
 * Time: 下午1:17
 */
public class Role {
    private String roleKey;

    private Long roleId;

    private String name;

    private String description;

    private String merchantCode;

    public Role(String name, String description, String merchantCode) {
        this.name = name;
        this.description = description;
        this.merchantCode = merchantCode;
    }

    public Role(Long roleId, String name, String description, String merchantCode) {
        this.roleId = roleId;
        this.name = name;
        this.description = description;
        this.merchantCode = merchantCode;
    }

    public Role(String roleKey, Long roleId, String name, String description, String merchantCode) {
        this.roleKey = roleKey;
        this.roleId = roleId;
        this.name = name;
        this.description = description;
        this.merchantCode = merchantCode;
    }

    public String getRoleKey() {
        return roleKey;
    }

    public Role setRoleKey(String roleKey) {
        this.roleKey = roleKey;
        return this;
    }

    public Long getRoleId() {
        return roleId;
    }

    public Role setRoleId(Long roleId) {
        this.roleId = roleId;
        return this;
    }

    public String getName() {
        return name;
    }

    public Role setName(String name) {
        this.name = name;
        return this;
    }

    public String getDescription() {
        return description;
    }

    public Role setDescription(String description) {
        this.description = description;
        return this;
    }

    public String getMerchantCode() {
        return merchantCode;
    }

    public Role setMerchantCode(String merchantCode) {
        this.merchantCode = merchantCode;
        return this;
    }
}
